﻿@model System.Web.Mvc.HandleErrorInfo

@{
    ViewBag.Title = "Error";
}

<hgroup class="title">
    <h1 class="error">Error.</h1>
    <h2 class="error">An error occurred while processing your request.</h2>
	@{
		if(Model!=null && Model.Exception!=null)
		{
			<h3>@Model.Exception.Message</h3>
			<h4>@Model.Exception.StackTrace</h4>
		}
		else
		{
			<h3>Exception was null!</h3>
		}
		
	}
</hgroup>
